Groundhogg\Preferences A

Total Complexity 68
Dependencies 5
Dependents 33
Total lines 479
Lines of code 248
Logical lines of code 137
Comment lines 149
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
get_optin_status_text()
A
44 16 43
is_marketable()
A
45 16 39
current_contact_can_modify_preferences()
S
56 4 18
template_include()
S
59 4 15
soft_bounced()
S
57 3 16
string_to_preference()
S
50 2 31
is_in_grace_period()
S
60 3 13
sanitize()
S
77 3 3
set_temp_preferences_permissions_cookie()
S
63 2 10
get_grace_period_cutoff_date()
S
66 2 8
is_gdpr_strict()
S
79 2 3
get_preference_names()
S
60 1 12
get_grace_period()
S
79 1 3
bounced()
S
74 1 4
complained()
S
74 1 4
__construct()
S
72 1 5
is_confirmation_strict()
S
80 1 3
is_gdpr_enabled()
S
80 1 3
get_preference_pretty_name()
S
78 1 3
add_query_vars()
S
74 1 5
add_rewrite_rules()
S
75 1 4
is_valid()
S
78 1 3